<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="style.css">
    <style>
        .nav{
            width:750px;
            height:44px;
            background-color: pink;
        }
        .nav ul{
            display: flex;
            overflow-x: auto;
           
        }
        .nav li{
            padding: 0 20px;
            flex-shrink:0;        
        }

        .nav ul li:hover{
            background-color: orangered;
        }
        ::-webkit-scrollbar{
            display: none;
        }
        /* 隐藏移动端滚动条 */
        
        /* 
            今晚作业
                把我写完案例自己写一辩
                图写一下
                随便找一个网站，用弹性写一下，练习弹性
                 
        */

    </style>
</head>
<body>
    <div class="nav">
        <ul>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            <li>你好</li>
            
           
        </ul>
    </div>
</body>
</html>